package editor;

import java.awt.BorderLayout;
import java.awt.Container;

import javax.swing.JFrame;

public class EditorBase extends JFrame
{

	private static final long serialVersionUID = 576940301954497165L;

	public EditorBase()
	{
		initGui();
	}
	
	private void initGui()
	{
		Container contentPane = getContentPane();
		if(!(contentPane.getLayout() instanceof BorderLayout))
		{
			contentPane.setLayout(new BorderLayout());
		}
		
		this.add(new PatientEditor());
		
		setTitle("Rettungssim Editor");
		setSize(800, 400);
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setVisible(true);
	}
	
}
